//发送方法
const actions = {
    showORhide: ({ commit, state }, opt) => {
        state.isShow = opt;
        commit("showORhide");
    },
    changeTitle: ({ commit, state }, opt) => {
        state.navTitle = opt;
        commit('changeTitle');
    }
};

export default actions;